<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html; charset=utf-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>平台管理系统</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="/css/plat-style.css" media="all">
</head>
<body>
<div class="layui-container">
    <div class="layui-card">
        <div class="layui-card-header">
                    <span class="layui-breadcrumb" lay-filter="breadcrumb">
                      <a href="javascript:;">养鸡订单</a>
                      <a ><cite>订单详情</cite></a>
                    </span>
            <div class="layui-inline" style="float:right;">
                <button type="button" class="layui-btn layui-btn-sm"  onclick="history.go(-1);">返回列表</button>
            </div>
        </div>
        <div class="layui-card-body" style="padding: 15px;">
            <form class="layui-form" id="dataEditForm">
                <input type="hidden" name="id" value="${detail.id}">
                <div class="layui-form-item">
                    <blockquote class="layui-elem-quote">
                        1. 鸡舍分红时间在孵化期可以进行手动修改。
                    </blockquote>
                </div>
                <hr>
                <div class="layui-form-item">
                    <label class="layui-form-label">&nbsp;&nbsp;用户昵称</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.nickName}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">&nbsp;&nbsp所属鸡舍</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.title}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">&nbsp;&nbsp订单类型</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.orderTypeName}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>订单编号</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.orderCode}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>第三方交易单号</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.transCode}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>订单状态</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.statusName}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>支付单号</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.orderCode}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>支付方式</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.orderTypeName}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>购买数量</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.buyNum}</span>
                    </div>
                </div>
                <c:if test="${detail.orderType == 6}">
                <div class="layui-form-item" >
                    <label class="layui-form-label"><span class="red">&nbsp;</span>已挂售数量</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.sellNum}</span>
                    </div>
                </div>
                </c:if>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>提鸡券数量</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.couponNum}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>支付金额</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.payMoney}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>创业积分</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.point}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>下单时间</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.createTime}</span>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label"><span class="red">&nbsp;</span>支付时间</label>
                    <div class="layui-input-block">
                        <span style="line-height: 38px;font-weight: bold;font-size: 16px;margin-left: 5%">${detail.payTime}</span>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="/layuiadmin/layui/layui.js"></script>
<script type="text/javascript" src="/js/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/js/jquery.form.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script>
    layui.config({
        //静态资源所在路径
        base: '/layuiadmin/'
    }).extend({
        //主入口模块
        index: 'lib/index'
    }).use(['index', 'form'], function () {
        var $ = layui.$, layer = layui.layer, element = layui.element, form = layui.form;
    });
</script>
</body>
</html>